package com.dgut.service.background.dao;

import com.dgut.service.background.entity.TransInspector;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface CheckDao extends PagingAndSortingRepository<TransInspector, Integer> {

    Page<TransInspector> findAllByCheckedLike(String check,Pageable pageable);

    TransInspector findByTransId(int transId);
}
